using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using wMobinium.core;

namespace wMobinium.utility
{
    public class DeviceTestSuiteRunner
    {
        public List<TestResult> Run(TestPackage testPackage)
        {
            string desktopTestFileName = Path.GetTempFileName();
            testPackage.Serialize(desktopTestFileName);
            string deviceTestFileName = string.Format(@"\Program Files\wMobinium.net\{0}Tests.xml", testPackage.Name);
            new ApplicationDeployer().DeployFile(desktopTestFileName, deviceTestFileName);

            return null;
        }
    }
}
